#include "function.h"

Function::Function(QObject *parent)
    : QObject{parent}
{

}

void Function::Login(QString& accountNumber,QString& password,bool& flag)
{
    if(accountNumber=="123456789"&&password=="123456789"){
        flag=true;
    }else{
        flag=false;
    }
}
